package com.ruoyi.graduate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.graduate.domain.entity.MsCommunityPost;
import com.ruoyi.graduate.domain.param.MsCommunityPostAddParam;
import com.ruoyi.graduate.domain.param.MsCommunityPostAuditParam;
import com.ruoyi.graduate.domain.param.MsCommunityPostPageParam;
import com.ruoyi.graduate.domain.param.PageBaseParam;
import com.ruoyi.graduate.domain.vo.MsCommunityPostDetailVo;

public interface IMsCommunityPostService extends IService<MsCommunityPost> {

    PageInfo pageList(MsCommunityPostPageParam param);

    MsCommunityPostDetailVo detail(Integer id);

    AjaxResult audit(MsCommunityPostAuditParam param);

    PageInfo userPageList(PageBaseParam param);

    AjaxResult add(MsCommunityPostAddParam param);
}
